$(document).ready(function(){

	var yjid = $('#yjid').val();
	var ejid = $('#ejid').val();
	
	$(".pagination").createPage({
        pageCount : $("#totalPage").val(),
        current : $("#page").val(),
        backFn : function(page){
        	window.location.href = mainDomain + "/front/findArticleListBySection/" + yjid + "/" + ejid + "?page=" + page;
        }
    });
	
});
